﻿<%@ Page Language="C#" MasterPageFile="MasterPageV2.master" AutoEventWireup="true"
    CodeFile="Search.aspx.cs" Inherits="public_html_NewSiteTest_Releaseliste" Title="Reviewer.dk - Anmeldelser"
    Async="true" %>

<%@ Register Src="V2Controls/Top10nyheder.ascx" TagName="Top10nyheder" TagPrefix="uc1" %>
<%@ Register Src="V2Controls/Top5Screenshots.ascx" TagName="Top5Screenshots" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table width="100%">
        <tr>
            <td width="600px" valign="top">
                <table cellpadding="0" cellspacing="0" border="0" style="width: 597px;">
                    <tr>
                        <td>
                            <h1><asp:Literal ID="lblOverskrift" runat="server" /></h1>
                        </td>
                    </tr>
                    <tr>
                        <td valign="top" style="padding: 5px; padding-top: 4px;">
                            <hr />
                            <asp:PlaceHolder runat="server" ID="uiPlhGames">
                                <h3>
                                    Spil:</h3>
                                <table width="100%" style="border-top: 1px solid #666666;">
                                    <asp:Repeater runat="server" ID="uiRepGames">
                                        <ItemTemplate>
                                            <tr>
                                                <td class="TDrowTwo">
                                                    <a href='<%# UrlUtillity.GetGameUri(Container.DataItem as Reviewer.Entities.Game) %>'>
                                                        <%# Eval("Title") %></a>
                                                </td>
                                                <td class="TDrowTwo">
                                                    <%# GetGenreName(Eval("Genre")) %>
                                                </td>
                                                <td class="TDrowTwo">
                                                    <%# GetFormatName(Eval("Format")) %>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <AlternatingItemTemplate>
                                            <tr>
                                                <td>
                                                    <a href='<%# UrlUtillity.GetGameUri(Container.DataItem as Reviewer.Entities.Game) %>'>
                                                        <%# Eval("Title") %></a>
                                                </td>
                                                <td>
                                                    <%# GetGenreName(Eval("Genre")) %>
                                                </td>
                                                <td>
                                                    <%# GetFormatName(Eval("Format")) %>
                                                </td>
                                            </tr>
                                        </AlternatingItemTemplate>
                                    </asp:Repeater>
                                </table>
                                Der blev fundet
                                <asp:Literal runat="server" ID="uiLitGameCount" />
                                spil
                                <hr />
                            </asp:PlaceHolder>
                            <asp:PlaceHolder runat="server" ID="uiPlhReviews">
                                <h3>
                                    Anmeldelser:</h3>
                                <table width="100%" style="border-top: 1px solid #666666;">
                                    <asp:Repeater runat="server" ID="uiRepReviews">
                                        <ItemTemplate>
                                            <tr>
                                                <td class="TDrowTwo">
                                                    <a href='<%# global::UrlUtillity.GetReviewUri(Eval("GameFormatName").ToString(), Eval("GameTitle").ToString()) %>'>
                                                        <%# Eval("GameTitle") %></a>
                                                </td>
                                                <td class="TDrowTwo">
                                                    <%# Eval("GameFormatName") %>
                                                </td>
                                                <td class="TDrowTwo" align="right">
                                                    <%# ((System.DateTime)Eval("LastModifiedDate")).ToLongDateString() %>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <AlternatingItemTemplate>
                                            <tr>
                                                <td>
                                                    <a href='<%# global::UrlUtillity.GetReviewUri(Eval("GameFormatName").ToString(), Eval("GameTitle").ToString()) %>'>
                                                        <%# Eval("GameTitle") %></a>
                                                </td>
                                                <td>
                                                    <%# Eval("GameFormatName") %>
                                                </td>
                                                <td align="right">
                                                    <%# ((System.DateTime)Eval("LastModifiedDate")).ToLongDateString() %>
                                                </td>
                                            </tr>
                                        </AlternatingItemTemplate>
                                    </asp:Repeater>
                                </table>
                                Der blev fundet
                                <asp:Literal runat="server" ID="uiLitReviewCount" />
                                anmeldelse(r)<hr />
                            </asp:PlaceHolder>
                            <asp:PlaceHolder runat="server" ID="uiPlnNews">
                                <h3>
                                    Nyheder:</h3>
                                <table width="100%" style="border-top: 1px solid #666666;">
                                    <asp:Repeater runat="server" ID="uiRepNews">
                                        <ItemTemplate>
                                            <tr>
                                                <td class="TDrowTwo">
                                                    <a href='<%# global::UrlUtillity.GetNewsUri(Eval("Title").ToString()) %>'>
                                                        <%# Eval("Title") %></a>
                                                </td>
                                                <td class="TDrowTwo" align="right">
                                                    <%# ((System.DateTime)Eval("NewsDate")).ToLongDateString() %>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <AlternatingItemTemplate>
                                            <tr>
                                                <td>
                                                    <a href='<%# global::UrlUtillity.GetNewsUri(Eval("Title").ToString()) %>'>
                                                        <%# Eval("Title") %></a>
                                                </td>
                                                <td align="right">
                                                    <%# ((System.DateTime)Eval("NewsDate")).ToLongDateString() %>
                                                </td>
                                            </tr>
                                        </AlternatingItemTemplate>
                                    </asp:Repeater>
                                </table>
                                Der blev fundet
                                <asp:Literal runat="server" ID="uiLitNewsCount" />
                                nyhede(r)<hr />
                            </asp:PlaceHolder>
                        </td>
                    </tr>
                </table>
            </td>
            <td valign="top">
                <uc1:Top10nyheder ID="Top10nyheder1" runat="server" />
                <uc2:Top5Screenshots ID="Top5Screenshots1" runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>
